package fun.chutianshu.springsecurity_04.entity;

import java.io.Serializable;

/**
 * (SysPermission)实体类
 *
 * @author makejava
 * @since 2021-05-25 07:30:04
 */
public class SysPermission implements Serializable {
    private static final long serialVersionUID = 712862945374882943L;
    /**
    * 权限表
    */
    private Long id;
    /**
    * 权限名
    */
    private String name;
    /**
    * 描述

    */
    private String description;
    /**
    * 权限对应的 url

    */
    private String url;
    /**
    * 父节点id

    */
    private Long pid;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

}